package test5

object StringImplictDemo {

  def main(args: Array[String]): Unit = {
    var s="accp";
    val s2 = s.incre()
    println(s2)
  }
  implicit  class StringEnhance(val s:String){
    def incre()=s.map(x=>(x+1).toChar)
  }
}
